import type {Dept} from "@/interface/Dept";
import type {Post} from "@/interface/Post";
import type { Property } from "@/interface/Property"

export interface User {
    id: string;
    pId?:string;
    name?: string;
    passwordHash?: string | null;
    email?: string;
    phoneNumber?: string;
    propertyId?: string | null;
    departmentId?: string;
    positionId?: string;
    isActive?: number;
    profilePicture?: string;
    realName?: string;
    createTime?: string;
    updateTime?: string;
    education?: string;
    major?: string;
    graduatedFrom?: string;
    joinDate?: string;
    contractPeriod?: string;
    contractExpiryDate?: string;
    idCard?: string;
    emergencyContactName?: string;
    emergencyContactPhoneNumber?: string;
    sex:number;
    type: number;
    account:string;
    dept?: Dept;
    post?: Post;
    properties?: Property;
}
